﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class SecondForm : Form
    {
        public SecondForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            var ppp = textBox1.Text;
            var ooo = "蜈蚣还在门口穿鞋";
            if (ppp == ooo)
            {
                MessageBox.Show("回答正确进入下一关！");
                ThirdForm thirdForm = new ThirdForm();
                this.Hide();
                thirdForm.Show();

            }
            else
            {
                MessageBox.Show("回答错误，闯关失败！*-");
            }

           
        }

       
    }
}
